package studentui;

import java.awt.Graphics;
import java.awt.Image;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import javax.swing.JLabel;
import javax.swing.JPanel;

public class SelectPanel extends JPanel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int width;
	private int height;
	
	public SelectPanel(int w,int h){
		this.width = w;
		this.height = h;
		setSize(width,height);
		
		
		
		//this.setLayout(null);
    }
	
    public void paintComponent(Graphics g){
    	Image background = this.getToolkit().getImage("select1.png");
		g.drawImage(background, 0, 60, width/5, height/3, null);
		Image background2 = this.getToolkit().getImage("select2.png");
		g.drawImage(background2, width/4, 60, width/5, height/3, null);
		Image background3 = this.getToolkit().getImage("select3.png");
		g.drawImage(background3, width/2, 60, width/5, height/3, null);
		repaint();
    }
	
}
